package edu.sctu.practice.class02.lvchang.test18;

/**
 * Created by Administrator on 2015/10/29.
 */
public class Car extends Auto {

    protected String air_condition;
    protected String CD;


    public Car(String air_condition,String CD) {
        this.air_condition=air_condition;
        this.CD=CD;
    }

    public Car(int numberOfTire, String color, double weight, int speed) {
        super(numberOfTire, color, weight, speed);
    }


    public void speedUp() {
        System.out.println("Car can speed up!");
    }

    public void speedDown() {
        System.out.println("Car can slow down!");
    }

}
